home *** CD-ROM | disk | FTP | other *** search
/ Champak 143 / (Vol 143) Nov 15 2011.iso / Games / aqua_cubes.swf / scripts / frame_82 / DoAction_2.as next >
Text File  |  2011-11-15  |  2KB  |  74 lines

  1. stop();
  2. _root.pa_warning._visible = false;
  3. _root.pa_setting._visible = false;
  4. _root.pa_help._visible = false;
  5. _root.b_start0.onRelease = function()
  6. {
  7.    if(_root.pa_setting._visible != true and _root.so.data.gamesave != true or _root.so.data.continuecount == 0)
  8.    {
  9.       _root.gamemode = "story";
  10.       _root.so.data.gamesave = false;
  11.       _root.so.data.continuecount = _root.maxconti;
  12.       play();
  13.    }
  14. };
  15. _root.b_start1._alpha = 25;
  16. if(_root.so.data.gamesave != true or _root.gamedemo == true or _root.webdemo == true or _root.so.data.continuecount == 0)
  17. {
  18.    _root.b_continue._alpha = 25;
  19. }
  20. else
  21. {
  22.    _root.b_continue._alpha = 255;
  23. }
  24. _root.b_continue.onRelease = function()
  25. {
  26.    if(_root.so.data.gamesave == true and _root.b_continue._alpha >= 100)
  27.    {
  28.       _root.so.data.continued = true;
  29.       _root.continuecount = _root.continuecount - 1;
  30.       _root.so.data.continuecount = _root.continuecount;
  31.       play();
  32.    }
  33. };
  34. _root.b_setting.onRelease = function()
  35. {
  36.    _root.pa_setting._visible = true;
  37. };
  38. if(_root.gamedemo == true)
  39. {
  40.    _root.b_seti._alpha = 25;
  41. }
  42. _root.b_help.onRelease = function()
  43. {
  44.    if(_root.pa_setting._visible != true)
  45.    {
  46.       _root.pa_help._visible = true;
  47.       _root.pa_help.gotoAndStop(2);
  48.    }
  49. };
  50. _root.b_quit.onRelease = function()
  51. {
  52.    fscommand("quit");
  53. };
  54. if(_root.gamedemo == true)
  55. {
  56.    _root.b_quit._visible = false;
  57. }
  58. if(_root.gamedemo != true)
  59. {
  60.    _root.b_buy._visible = false;
  61. }
  62. _root.b_buy.onRelease = function()
  63. {
  64.    getUrl("http://www.greenhermit.net", "_blank");
  65. };
  66. _root.b_more.onRelease = function()
  67. {
  68.    getUrl("http://www.mofunzone.com/", "_blank");
  69. };
  70. _root.b_highscore.onRelease = function()
  71. {
  72.    getUrl("http://www.mofunzone.com/game_scores/aquacubes/highscores.shtml", "_blank");
  73. };
  74.